tuple1 = 21, 32, 43, 45
print(tuple1)

tuple2 = ("hello", "world")
print(tuple2)

tuple3 = ("hello", "world", 1, 2, 3)
print(tuple3)

tuple4 = tuple("hello")
tuple5 = ("hello",)
print(tuple4)
print(tuple5)

tuple6 = tuple([21, 32, 43, 45])    # tuple(序列)
print(tuple6)

tuple7 = 1,     # 元素，
print(tuple7)
print(type(tuple7))

tuple8 = (1,)   # (元素，)
print(tuple8)

tuple9 = ()     # 创建空元组
print(tuple9)
print(type(tuple9))